| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRSetLeavingNodeProc function to install or remove a node-leaving procedure.
OSErr QTVRSetLeavingNodeProc (
QTVRInstanceqtvr,
QTVRLeavingNodeUPPleavingNodeProc,
SInt32refCon,
UInt32 flags);
The QTVRSetLeavingNodeProc function installs the procedure specified by the leavingNodeProc parameter as a node-leaving procedure for the QuickTime VR movie specified by the qtvr parameter. Your procedure is called whenever a node is left (either in response to user actions or in response to QuickTime VR Manager functions that change nodes). The reference constant specified by the refCon parameter is passed unchanged to that node-leaving procedure.
To remove a previously installed node-leaving procedure, set leavingNodeProc to nil .
Use QTVRSetEnteringNodeProc [link] to install or remove a node-entering procedure.
| Previous | Chapter contents | Chapter top | Section top | Next |